package org.example.viteVantDemo.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class TransactionResponse {
    private Integer id;

    private String icon;
    /**
     *  name + action + （是否可退款）
     */
    private String title;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

    private BigDecimal amount;

    private String assetsCode;

    private String endBalance;

    private Integer status;

    /**
     *  是否可退款
     *  0 不可 1 可以
     */
    private Integer backType = 0;
}
